package org.ala.distributed_redis_transaction;

import org.ala.distributed_redis_transaction.commons.AbstractRedisTransactionFactory;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;


/**
 * 2pc redis分布式事务工厂
 *
 * @author 骆毅(ala)
 * @date 2024年2月28日
 */
@Component
@Lazy
public class RedisTransaction2PCFactory extends AbstractRedisTransactionFactory<RedisTransaction2PC> {

	@Override
	protected RedisTransaction2PC buildTransaction() {
		return new RedisTransaction2PC();
	}

}
